#!/user/bin/python
# -*- coding: utf-8 -*-

import urllib
import urllib2

value = {}
value['username'] = 'admin'
value['password'] = '123456'
data = urllib.urlencode(value)

url = 'http://localhost:8080/MerchantPay/dologin';

url = url + '?' + data
request = urllib2.Request(url)

response = urllib2.urlopen(request)

print(response.read())


